<?python from genshi import HTML 
	if poll.state == -1:
		state = "UNKNOWN"
	elif poll.state == 0:
		state = "OK"
	else:
		state = "FAILED"
?>


  <a href="${url('/poll/%s/' % poll.id)}"><span class="${'STATE-%s'%state}">${poll.title}</span></a>

